<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>车控改名小工具</title>
</head>
<body>
     <form method="post" action="{% url 'subCarChan' %}" enctype="multipart/form-data">
        {% csrf_token %}
        <h1>车控改名小工具</h1>
        <p>请输入旧名字：<input type="text" name="oldname"></p>
        <p>请输入新名字：<input type="text" name="newname"></p>
        <p><button type="submit">提交</button> <button type="reset">清空</button> </p>
        <p><a href="/">返回首页</a> </p>

        <p><textarea cols="80" rows="40">{{ cardata }}</textarea></p>

    </form>
</body>
</html>